Optimal. Leaf size=59 \[ \frac{\csc ^5(e+f x)}{5 a^3 c^3 f}-\frac{2 \csc ^3(e+f x)}{3 a^3 c^3 f}+\frac{\csc (e+f x)}{a^3 c^3 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.108673, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.094, Rules used = {3958, 2606, 194} \[ \frac{\csc ^5(e+f x)}{5 a^3 c^3 f}-\frac{2 \csc ^3(e+f x)}{3 a^3 c^3 f}+\frac{\csc (e+f x)}{a^3 c^3 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3958
Rule 2606
Rule 194
Rubi steps
\begin{align*} \int \frac{\sec (e+f x)}{(a+a \sec (e+f x))^3 (c-c \sec (e+f x))^3} \, dx &=-\frac{\int \cot ^5(e+f x) \csc (e+f x) \, dx}{a^3 c^3}\\ &=\frac{\operatorname{Subst}\left (\int \left (-1+x^2\right )^2 \, dx,x,\csc (e+f x)\right )}{a^3 c^3 f}\\ &=\frac{\operatorname{Subst}\left (\int \left (1-2 x^2+x^4\right ) \, dx,x,\csc (e+f x)\right )}{a^3 c^3 f}\\ &=\frac{\csc (e+f x)}{a^3 c^3 f}-\frac{2 \csc ^3(e+f x)}{3 a^3 c^3 f}+\frac{\csc ^5(e+f x)}{5 a^3 c^3 f}\\ \end{align*}
Mathematica [A] time = 0.0681945, size = 50, normalized size = 0.85 \[ -\frac{-\frac{\csc ^5(e+f x)}{5 f}+\frac{2 \csc ^3(e+f x)}{3 f}-\frac{\csc (e+f x)}{f}}{a^3 c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 180., size = 0, normalized size = 0. \begin{align*} \int{\frac{\sec \left ( fx+e \right ) }{ \left ( a+a\sec \left ( fx+e \right ) \right ) ^{3} \left ( c-c\sec \left ( fx+e \right ) \right ) ^{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.960382, size = 55, normalized size = 0.93 \begin{align*} \frac{15 \, \sin \left (f x + e\right )^{4} - 10 \, \sin \left (f x + e\right )^{2} + 3}{15 \, a^{3} c^{3} f \sin \left (f x + e\right )^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.455858, size = 180, normalized size = 3.05 \begin{align*} \frac{15 \, \cos \left (f x + e\right )^{4} - 20 \, \cos \left (f x + e\right )^{2} + 8}{15 \,{\left (a^{3} c^{3} f \cos \left (f x + e\right )^{4} - 2 \, a^{3} c^{3} f \cos \left (f x + e\right )^{2} + a^{3} c^{3} f\right )} \sin \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int \frac{\sec{\left (e + f x \right )}}{\sec ^{6}{\left (e + f x \right )} - 3 \sec ^{4}{\left (e + f x \right )} + 3 \sec ^{2}{\left (e + f x \right )} - 1}\, dx}{a^{3} c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2356, size = 59, normalized size = 1. \begin{align*} \frac{15 \, \sin \left (f x + e\right )^{4} - 10 \, \sin \left (f x + e\right )^{2} + 3}{15 \, a^{3} c^{3} f \sin \left (f x + e\right )^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]